package com.yidu.TAManagement.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * TA交易数据实体类
 * @author 赵俊豪
 * @date 2022/12/11 13:27
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Ta {
    private String taId;//ta编号
    private String cashId;//现金账户编号
    private String fundId;//基金编号
    private Integer dealType;//交易类型
    private int quantity;//数量
    private double cost;//费用
    private String dealTime;//交易日期
    private double unitPrice;//单价
    private String endTime;//结算日期
    private int commissionAgents;//代销机构
    private double money;//总金额
    private double practicalMoney;//实际金额
    private Integer dealState;//交易状态
    private String Remark;//备注
    private String accountName;//现金账户名称
    private String fundName;//基金名称

    public Ta(String taId, String cashId, String fundId, Integer dealType, int quantity, double cost, String dealTime, double unitPrice, String endTime, int commissionAgents, double money, double practicalMoney, Integer dealState, String remark) {
        this.taId = taId;
        this.cashId = cashId;
        this.fundId = fundId;
        this.dealType = dealType;
        this.quantity = quantity;
        this.cost = cost;
        this.dealTime = dealTime;
        this.unitPrice = unitPrice;
        this.endTime = endTime;
        this.commissionAgents = commissionAgents;
        this.money = money;
        this.practicalMoney = practicalMoney;
        this.dealState = dealState;
        Remark = remark;
    }
}
